[INFO] cloning repository https://github.com/paulcacheux/hai
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paulcacheux/hai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulcacheux%2Fhai", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulcacheux%2Fhai'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9e6839977b977d06643d8c53fff1f90214577ea8
[INFO] checking paulcacheux/hai against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulcacheux%2Fhai" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/paulcacheux/hai
[INFO] finished tweaking git repo https://github.com/paulcacheux/hai
[INFO] tweaked toml for git repo https://github.com/paulcacheux/hai written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/paulcacheux/hai on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/paulcacheux/hai already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded block-buffer v0.3.3
[INFO] [stderr]   Downloaded arrayref v0.3.5
[INFO] [stderr]   Downloaded digest v0.7.6
[INFO] [stderr]   Downloaded quote v0.6.10
[INFO] [stderr]   Downloaded proc-macro2 v0.4.24
[INFO] [stderr]   Downloaded maplit v1.0.1
[INFO] [stderr]   Downloaded sha-1 v0.7.0
[INFO] [stderr]   Downloaded ucd-trie v0.1.1
[INFO] [stderr]   Downloaded pest_derive v2.0.1
[INFO] [stderr]   Downloaded pest_generator v2.0.0
[INFO] [stderr]   Downloaded pest_meta v2.0.3
[INFO] [stderr]   Downloaded id-arena v1.0.1
[INFO] [stderr]   Downloaded pest v2.0.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6898ecdbf78db42f4022001ba73b574e1c088a65a45d9238a1de69bb0517c3fe
[INFO] running `Command { std: "docker" "start" "-a" "6898ecdbf78db42f4022001ba73b574e1c088a65a45d9238a1de69bb0517c3fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6898ecdbf78db42f4022001ba73b574e1c088a65a45d9238a1de69bb0517c3fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6898ecdbf78db42f4022001ba73b574e1c088a65a45d9238a1de69bb0517c3fe", kill_on_drop: false }`
[INFO] [stdout] 6898ecdbf78db42f4022001ba73b574e1c088a65a45d9238a1de69bb0517c3fe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d5526bf53188bdd27407e33e7958e2245e18f823f988f66d9c05c1c3fcd6313d
[INFO] running `Command { std: "docker" "start" "-a" "d5526bf53188bdd27407e33e7958e2245e18f823f988f66d9c05c1c3fcd6313d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.24
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling ucd-trie v0.1.1
[INFO] [stderr]    Compiling maplit v1.0.1
[INFO] [stderr]     Checking id-arena v1.0.1
[INFO] [stderr]     Checking pest v2.0.2
[INFO] [stderr]    Compiling quote v0.6.10
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]    Compiling pest_meta v2.0.3
[INFO] [stderr]    Compiling pest_generator v2.0.0
[INFO] [stderr]    Compiling pest_derive v2.0.1
[INFO] [stderr]     Checking hai v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `function_convertor`
[INFO] [stdout]   --> src/convertor.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut function_convertor = FunctionConvertor::new(name, parameters);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_convertor`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function_convertor`
[INFO] [stdout]   --> src/convertor.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut function_convertor = FunctionConvertor::new(name, parameters);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_convertor`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `program`
[INFO] [stdout]   --> src/convertor.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         program: &ast::Program,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `program`
[INFO] [stdout]   --> src/convertor.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         program: &ast::Program,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `statement`
[INFO] [stdout]   --> src/convertor.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         statement: ast::StatementId,
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `statement`
[INFO] [stdout]   --> src/convertor.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         statement: ast::StatementId,
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/convertor.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut function_convertor = FunctionConvertor::new(name, parameters);
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/convertor.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut function_convertor = FunctionConvertor::new(name, parameters);
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sym_table` and `builder` are never read
[INFO] [stdout]   --> src/convertor.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct FunctionConvertor {
[INFO] [stdout]    |        ----------------- fields in this struct
[INFO] [stdout] 52 |     sym_table: SymbolTable,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 53 |     builder: ir::builder::FunctionBuilder,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FunctionConvertor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ty` and `var` are never read
[INFO] [stdout]   --> src/convertor.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 93 | struct TypedVariable {
[INFO] [stdout]    |        ------------- fields in this struct
[INFO] [stdout] 94 |     ty: ir::Type,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 95 |     var: ir::Variable,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TypedVariable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `end_scope` and `lookup_variable` are never used
[INFO] [stdout]    --> src/convertor.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout] 98  | impl SymbolTable {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     fn end_scope(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn lookup_variable(&mut self, name: &str) -> Option<TypedVariable> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `functions` is never read
[INFO] [stdout]  --> src/ir/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Module {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 5 |     pub functions: Vec<Function>,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Module` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `params`, `variables`, and `basic_blocks` are never read
[INFO] [stdout]   --> src/ir/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Function {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 10 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 11 |     params: Vec<Type>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 12 |     variables: Vec<Type>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 13 |     basic_blocks: Vec<BasicBlock>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `statements` and `terminator` are never read
[INFO] [stdout]   --> src/ir/mod.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct BasicBlock {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 18 |     statements: Vec<Statement>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 19 |     terminator: Terminator,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BasicBlock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `WithDestination`, `Operation`, and `Literal` are never constructed
[INFO] [stdout]   --> src/ir/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum Statement {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 24 |     WithDestination(Value, Operation),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 25 |     Operation(Operation),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 26 |     Literal(Literal),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/ir/mod.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum Operation {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 31 |     BinaryAdd(Value, Value),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 32 |     BinarySub(Value, Value),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 33 |     BinaryMul(Value, Value),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 34 |     BinaryDivide(Value, Value),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 35 |     LoadParam(usize),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 36 |     LoadVariable(Variable),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 37 |     StoreVariable(Variable, Value),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Return` is never constructed
[INFO] [stdout]   --> src/ir/mod.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub enum Terminator {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 42 |     Return(Value),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Terminator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Int` and `Boolean` are never constructed
[INFO] [stdout]   --> src/ir/mod.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub enum Literal {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] 56 |     Int(i32),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 57 |     Boolean(bool),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `statements` and `terminator` are never read
[INFO] [stdout]  --> src/ir/builder.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct PreBasicBlock {
[INFO] [stdout]   |            ------------- fields in this struct
[INFO] [stdout] 5 |     statements: Vec<Statement>,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 6 |     terminator: Option<Terminator>,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PreBasicBlock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `bbs`, `current_bb`, and `value_counter` are never read
[INFO] [stdout]   --> src/ir/builder.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct FunctionBuilder {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 11 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     bbs: Vec<PreBasicBlock>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 15 |     current_bb: BB,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 16 |     value_counter: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FunctionBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `into_function`, `create_new_bb`, `switch_to_bb`, `terminate_bb`, `append_value_operation`, and `append_no_value_operation` are never used
[INFO] [stdout]   --> src/ir/builder.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl FunctionBuilder {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn into_function(self) -> Function {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn create_new_bb(&mut self) -> BB {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn switch_to_bb(&mut self, bb: BB) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn terminate_bb(&mut self, terminator: Terminator) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn append_value_operation(&mut self, operation: Operation) -> Value {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn append_no_value_operation(&mut self, operation: Operation) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sym_table` and `builder` are never read
[INFO] [stdout]   --> src/convertor.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct FunctionConvertor {
[INFO] [stdout]    |        ----------------- fields in this struct
[INFO] [stdout] 52 |     sym_table: SymbolTable,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 53 |     builder: ir::builder::FunctionBuilder,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FunctionConvertor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ty` and `var` are never read
[INFO] [stdout]   --> src/convertor.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 93 | struct TypedVariable {
[INFO] [stdout]    |        ------------- fields in this struct
[INFO] [stdout] 94 |     ty: ir::Type,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 95 |     var: ir::Variable,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TypedVariable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `end_scope` and `lookup_variable` are never used
[INFO] [stdout]    --> src/convertor.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout] 98  | impl SymbolTable {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     fn end_scope(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn lookup_variable(&mut self, name: &str) -> Option<TypedVariable> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `functions` is never read
[INFO] [stdout]  --> src/ir/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Module {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 5 |     pub functions: Vec<Function>,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Module` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `params`, `variables`, and `basic_blocks` are never read
[INFO] [stdout]   --> src/ir/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Function {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 10 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 11 |     params: Vec<Type>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 12 |     variables: Vec<Type>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 13 |     basic_blocks: Vec<BasicBlock>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `statements` and `terminator` are never read
[INFO] [stdout]   --> src/ir/mod.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct BasicBlock {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 18 |     statements: Vec<Statement>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 19 |     terminator: Terminator,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BasicBlock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `WithDestination`, `Operation`, and `Literal` are never constructed
[INFO] [stdout]   --> src/ir/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum Statement {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 24 |     WithDestination(Value, Operation),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 25 |     Operation(Operation),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 26 |     Literal(Literal),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/ir/mod.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum Operation {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 31 |     BinaryAdd(Value, Value),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 32 |     BinarySub(Value, Value),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 33 |     BinaryMul(Value, Value),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 34 |     BinaryDivide(Value, Value),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 35 |     LoadParam(usize),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 36 |     LoadVariable(Variable),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 37 |     StoreVariable(Variable, Value),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Return` is never constructed
[INFO] [stdout]   --> src/ir/mod.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub enum Terminator {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 42 |     Return(Value),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Terminator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Int` and `Boolean` are never constructed
[INFO] [stdout]   --> src/ir/mod.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub enum Literal {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] 56 |     Int(i32),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 57 |     Boolean(bool),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `statements` and `terminator` are never read
[INFO] [stdout]  --> src/ir/builder.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct PreBasicBlock {
[INFO] [stdout]   |            ------------- fields in this struct
[INFO] [stdout] 5 |     statements: Vec<Statement>,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 6 |     terminator: Option<Terminator>,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PreBasicBlock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `bbs`, `current_bb`, and `value_counter` are never read
[INFO] [stdout]   --> src/ir/builder.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct FunctionBuilder {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 11 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     bbs: Vec<PreBasicBlock>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 15 |     current_bb: BB,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 16 |     value_counter: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FunctionBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `into_function`, `create_new_bb`, `switch_to_bb`, `terminate_bb`, `append_value_operation`, and `append_no_value_operation` are never used
[INFO] [stdout]   --> src/ir/builder.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl FunctionBuilder {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn into_function(self) -> Function {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn create_new_bb(&mut self) -> BB {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn switch_to_bb(&mut self, bb: BB) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn terminate_bb(&mut self, terminator: Terminator) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn append_value_operation(&mut self, operation: Operation) -> Value {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn append_no_value_operation(&mut self, operation: Operation) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.71s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "d5526bf53188bdd27407e33e7958e2245e18f823f988f66d9c05c1c3fcd6313d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5526bf53188bdd27407e33e7958e2245e18f823f988f66d9c05c1c3fcd6313d", kill_on_drop: false }`
[INFO] [stdout] d5526bf53188bdd27407e33e7958e2245e18f823f988f66d9c05c1c3fcd6313d
